package com.feeyo.groundservice.http.base

import com.feeyo.groundservice.http.exception.BusinessException

/**
 *作者：QLH on 2023-09-15
 *描述：业务异常处理接口
 */
interface BusinessExceptionHandler {

    /**
     * [onFailure] will be called when [Result.isFailure]
     *
     */
    fun onFailure(throwable: BusinessException)
}